package cn.wolfcode.luowowo.article.service.impl;

import cn.wolfcode.luowowo.article.domain.TravelContent;
import cn.wolfcode.luowowo.article.mapper.TravelContentMapper;
import cn.wolfcode.luowowo.article.service.ITravelContentService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by admin on 2019/8/11.
 */
@Service
public class TravelContentServiceImpl implements ITravelContentService {
    @Autowired
    private TravelContentMapper contentMapper;

    @Override
    public TravelContent get(Long id) {
        return contentMapper.selectByPrimaryKey(id);
    }
}
